package com.cskaoyan.shopping.converter;

import com.cskaoyan.shopping.dal.entitys.Item;
import com.cskaoyan.shopping.dal.entitys.PanelContent;
import com.cskaoyan.shopping.dto.ShoppingNavigationDto;
import com.cskaoyan.shopping.dto.TestProductDetailDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;

import java.util.List;

/**
 * @auther cskaoyan
 * @date 2022/5/18:11:45
 */
@Mapper(componentModel = "spring")
public interface ShoppingNavigationConverter {

    ShoppingNavigationDto panelContentDo2ShoppingNavigationDto(PanelContent panelContent);


    List<ShoppingNavigationDto> panelContentsDo2ShoppingNavigationsDto(List<PanelContent> panelContents);
}
